-
-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DietPi-Software | Amiberry: Update and further rework #3252
Conversation
+ DietPi-Software | Amiberry: Update to current upstream v3.0.4, including Stretch binaries and merge SDL2 libraries right into the Amiberry install dir + DietPi-Software | Amiberry: Download archives are not split per platform to provide smaller downloads and less file moving hassle + DietPi-Software | Amiberry: autostart.uae has been removed, as it contained obviously auto-created defaults from an RPi1 instance and non-existent file paths. Re-evaluation if a default file makes sense should be done, then it should be named default.uae, which is used by Amiberry automatically, if present, since some versions ago
Hi, will you update the image of Amiberry to buster? thanks |
Yes Buster ready Amiberry v2.26 does already exist for RPi and Asus TB, the new version 3.0.9 is as well ready for Buster (aside of Odroid XU4 Buster currently) and can be tested via current DietPi beta. |
Is it possible to make a seperate image for the raspbery pi boards only with Amiberry ? thanks |
@actraiser30 |
thanks how can i install the DietPi beta to test amiberry? |
Please wait until the night, I'm just preparing to merge the next beta version: #3270 |
As i thought Amiberry in beta has the same problem/bug as in stable, when i press start to launch a pre-installed workbench hdf(hardfile) that i already did with amiberry in retropie, it exits in command line ,when i try to install a workbench from scratch,it gets an error that the hdf(hardfile) its not a dos disk instead of start the installation as it happens in amiberry in retropie have you noticed this problem/bug? Basically you cannot do anything with Amiberry than only look the Gui I installed Amiberry with normal user dietpi and it does the same so it must be an issue with dietpi it self. You can you try it your self,just install amiberry and after the Gui launch press start it will exit to command line instead of prompt you for a system disk/rom |
@actraiser30
|
Fresh install on a Raspberry Pi 3B with latest buster image,first dietpi updated the OS and it self, and then i choose to install it from the software section,i also run it manual from console with systemctl start amiberry, same thing happening and i install it also in the normal stretch amiberry image same there too i will check the log and the console output later and let you know |
@actraiser30 |
sorry i gave you a wrong photo before without the command i execute the command after i run the journalctl -u amiberry i got this log in the 2 photos in the link under: |
@actraiser30 My last real-world test on RPi was with the last binary version 3.0.4, not yet 3.0.9. But those binaries were taken from Amiberry release (like the last ones), hence should match Raspbian Buster libc6 etc: https://github.com/midwan/amiberry/releases/tag/v3.0.9 @midwan |
@MichaIng It might be related to either SDL2 or something else, it's hard to tell from just this. Have you tried compiling Amiberry from source on the same platform? Does it behave the same way if you do? In that case, it might be related to something external, like SDL2. But if it does work, then the difference in somewhere between the pre-compiled environment (Raspbian Buster Desktop) and DietPi's image. |
@midwan @actraiser30
In case we can rule out SDL2 ARMv7 vs ARMv6 and Amiberry v2.25 vs Amiberry v3.0.X: On DietPi v6.26, Amiberry v2.25 with ARMv7 SDL2 libs on RPi3 are pulled, while on DietPi v6.27 it's Amiberry v3.0.9 with ARMv6 SDL2 libs, as those were all build on Raspbian, which from APT packages is all ARMv6. I'm still thinking if there could be benefits to use ARMv7 SDL2 libs on RPi2/3/4, using full kernel arch capabilities, however it would break SDcard swapping between models, and if any, benefits should be minimal only. I compared the SDL2 (ARMv6) libs from v6.26 with the ones packed with Amiberry for v6.27 and they match up to the last byte. This just shows that both were build within exactly matching environments, and with those libs, ARMv7 as well as ARMv6 I successfully tested it on my RPi2. And of course I would expect many other reports, if it generally failed on RPi3 with v6.26 already. If even the Stretch image fails, then I start to thinking that something is wrong with this RPi, since on DietPi v6.26 Stretch the old very well mass tested and used Amiberry v2.25 with fully-fleshed older SDL2 libs, build by Fourdee, are used, which has nothing to do with my new builds at all. Updated Stretch version is pulled only with DietPi v6.27 beta and dev code 🤔. |
it shows the Gui but it does not do anything further than that With both stable and beta the results are the same it loads the Gui and crashes if you press start Yes that image (https://dietpi.com/downloads/images/DietPi_RPi-ARMv6-Stretch_AmiBerry.7z) i installed Retropie in Dietpi and after i install Amiberry from Retropie it works great like that so it must be something wrong with the Amiberry install script for Dietpi or the service This is the script under used to install Amiberry from Retropie it installs SDL2 and builds Amiberry,Dietpi script only downloads the pre-made binary, maybe it will help you solve the problem: https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/emulators/amiberry.sh |
@actraiser30 This is actually something you can test easily (on current beta/dev v6.27 Buster at best, on Stretch this will not work!) to check if it's really the SDL2 which somehow does not work on your system, or the amiberry build itself:
|
i tried to instal sdl2 but apt could not find the packages so i installed the ibsdl2-dev libsdl2-ttf-dev libsdl2-image-dev packages run the amiberry with the /mnt/dietpi_userdata/amiberry/amiberry If it was working before then something happen after an update something installed or changed and conflicting with amiberry,as a suggestion maybe you can try build amiberry instead of taking the binary. |
@actraiser30
We want to prevent the up to 1 hour taking build on slow SBCs, hence the pre-compiled binaries.
Can you please paste: And as suggested by midwan, it would be great if you could try an own source build, if all above does not help:
Alternatively you could try the binaries compiled by midwan:
|
deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi |
@actraiser30 |
i have some trouble tranfer some hdf file to test it with proftp server,it opens the gui and when i click to any folder it closes the gui with security errors,is it possible to install the midnight commander file manager used in retropie its super easy to use and fast,?? |
@actraiser30 Aside of that, copying or Amiberry dir + /etc/systemd/system/amiberry.service to launch to Raspbian or installing midnight commander on DietPi should generally both work. But you need to take care that required libraries for Amiberry are installed on Raspbian as well (as above). |
if i tranfer the files from raspbian desktop amiberry behaves strange after its like the dependecies or files are destroyed or something, i think the crashing was caused coz of this |
@actraiser30 |
Got it althrough amiberry 2.25 in stable seems to work with Raspberry pi 4 this version (2.25) does not exists for Rpi4 strange only from version 3.0.0 and up there is Rpi4 support.but still it does not accept the pre-made hdf workbench files i have made with amiberry in amibian.is this a bug with 2.25 version? |
@actraiser30 RPI4 support was added in 2.25 first, before v3.0 was released. It's just a new target in the Makefile ;) |
@actraiser30 May I ask how you finally got it running (on RPi3 I assume)? With this? |
clean install copy the files with mc installed workbench with the disks (pre-installed hdf files from amibian does not work) any release date for the Amiberry buster image? |
@actraiser30 I meanwhile confirmed the bug with Buster binaries on RPi2. GUI starts fine, hitting "Start" produces the segmentation fault. I have not installed anything to start, but I guess the related error should be no segmentation faul 😉. Not sure where this comes from. I tried installing the RPi repo libSDL2 packages but then Amiberry fails to "initialise EGL". I didn't have enough time to further investigate/compare all installed requirements about this (libegl1 + libgles2 + libgl1-mesa-dri installed of course + fkms overlay enabled). I'll re-compile the binaries for RPi Buster and see if this solves the issue. @actraiser30 On RPi3:
@midwan |
@actraiser30
I'll also run some real-world tests later. @midwan |
Hello, i tried the Recompiled binaries for Buster and it worked,deleted the old amiberry folder before in mnt/dietpi_userdata/amiberry and replaced it with the new one 3.0.11 looks like amiberry 2.25 has a major problem in rpi4 after i remove the power and insert it for example next day,the screen became black like there is no signal i had to press a few buttons and enter to come back to command line asking for username and pass whille the autoboot is set to boot directly to amiberry and worked flawless before.havent tried the strech yet,i think you should update the main DietPi buster image with this :wget https://dietpi.com/downloads/binaries/buster and also the upcoming Amiberry image should include Amiberry 3.0.11 with the lib folder in it i think it helps if i just copy the binnary of Amiberry with: wget https://dietpi.com/downloads/binaries/buster/amiberry_rpi4.tar.bz2 |
@actraiser30
You also need to create the systemd unit and install the dependencies, then it should work:
|
Thanks i want to install plex server and transmission torrent server in a normal raspbian lite image without dietpi, i see that the commands to install it are in the dietpi-software file but they are all over the file and not just in one place,how can i do it, ?? |
Hi, |
i know that but i believe the dietpi version of plex server is far better that this guides |
@actraiser30
As you can see, we use the official Plex APT repository and add the user (created by the package install) to render and dietpi group, the latter is obsolete on Raspbian of course. For reference: https://support.plex.tv/articles/235974187-enable-repository-updating-for-supported-linux-server-distributions/ |
Thanks so i put this two parts in a script with copy and paste and install it? |
@actraiser30 |
thanks about the transmission torrent server is the same thing to give me to do possible ? |
@actraiser30 |
thanks the last one is about transmission server? |
@actraiser30 See: https://packages.debian.org/buster/amd64/transmission-daemon/filelist |
sorry i mean how to install transmission server also the same way as plex in a normal rasbian image what sections i take from the dietpi-software file? thanks |
https://github.com/MichaIng/DietPi/blob/master/dietpi/dietpi-software#L3041 The second part can actually be skipped. It removes the sysvinit service, which is anyway ignored by systemd, applies dietpi group to the systemd unit, which is obsolete on Raspbian, and applies some settings, while the defaults will work fine as well of course and can be adjusted to personal needs afterwards. So finally its just |
MichaIng can you make two script to install plex server and torrent server and post them here please? thanks |
@actraiser30 |
thanks i dont mean install them from dietpi but from a normal raspbian image |
@actraiser30 |
Status: Ready
Reference: #3181
Commit list/description: